package com.kingmed.kmss.admin.modules.sys.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 流水号
 * </p>
 *
 * @author liangzhi
 * @since 2023-06-08
 */
@Getter
@Setter
@TableName("sys_sequence")
@ApiModel(value = "SysSequence对象", description = "流水号")
public class SysSequence implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("业务主键")
    private String bizKey;

    @ApiModelProperty("序列号")
    private Long seqNum;


}
